package com.ruoyi.system.service;

import com.ruoyi.system.domain.ChartData;
import com.ruoyi.system.domain.Customer;
import com.ruoyi.system.domain.CustomerCount;

import java.util.List;

/**
 * customer 服务层
 * 
 * @author ruoyi
 * @date 2019-07-03
 */
public interface ICustomerService 
{
	/**
     * 查询customer信息
     * 
     * @param customerId customerID
     * @return customer信息
     */
	public Customer selectCustomerById(Integer customerId);
	
	/**
     * 查询customer列表
     * 
     * @param customer customer信息
     * @return customer集合
     */
	public List<Customer> selectCustomerList(Customer customer);
	
	/**
     * 新增customer
     * 
     * @param customer customer信息
     * @return 结果
     */
	public int insertCustomer(Customer customer);
	
	/**
     * 修改customer
     * 
     * @param customer customer信息
     * @return 结果
     */
	public int updateCustomer(Customer customer);
		
	/**
     * 删除customer信息
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteCustomerByIds(String ids);

	List<CustomerCount> userGender();

	List<ChartData> userState();
	
}
